package com.vidmt.api.modules.sys.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;

@Deprecated
public final class Info extends DataEntity {
	private static final long serialVersionUID = 1L;
	private Long uid;
	private String pwd;
	private String name;
	private String nick;
	private String email;
	private String phone;
	private Integer sex;
	private java.sql.Date birth;
	private String address;
	private String alipay;

	public Info() {
	}

	public Info(User user) {
		this.uid = user.getId();
		this.name = user.getName();
		this.nick = user.getNick();
		this.email = user.getEmail();
		this.phone = user.getPhone();
		this.sex = user.getSex();
		this.birth = user.getBirth();
		this.address = user.getAddress();
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public java.sql.Date getBirth() {
		return birth;
	}

	public void setBirth(java.sql.Date birth) {
		this.birth = birth;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAlipay() {
		return alipay;
	}

	public void setAlipay(String alipay) {
		this.alipay = alipay;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
}
